﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]   
    [Serializable]
    public partial class t_smd_DealerDeposit : DataObject
    {
        [Column]
        public int ID { get; set; }
        [Column]
        public string DealerCode { get { return fDealerCode; } set { fDealerCode = value; EntityState.FieldChange("DealerCode"); } } private string fDealerCode; public static FieldInfo _DealerCode = new FieldInfo("t_smd_Meiping", "DealerCode");
        [Column]
        public string Name { get { return fName; } set { fName = value; EntityState.FieldChange("Name"); } } private string fName; public static FieldInfo _Name = new FieldInfo("t_smd_Meiping", "Name");
        [Column]
        public string Region { get { return fRegion; } set { fRegion = value; EntityState.FieldChange("Region"); } } private string fRegion; public static FieldInfo _Region = new FieldInfo("t_smd_Meiping", "Region");
        [Column]
        public float Amount { get { return fAmount; } set { fAmount = value; EntityState.FieldChange("Amount"); } } private float fAmount; public static FieldInfo _Amount = new FieldInfo("t_smd_Meiping", "Amount");
    }
}
